package com.bsoft.gol.hcs.visitrecord.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import com.bsoft.gol.hcs.visitrecord.entity.VrApplicationFormDetail;

import java.util.List;

/**
 * Created by ChenJij on 2020/9/4.
 */
public abstract class VrApplicationFormDetailDAO extends HibernateSupportDelegateDAO<VrApplicationFormDetail> {
    public VrApplicationFormDetailDAO() {
        this.setKeyField("applicationDetailId");
    }

    @DAOMethod(sql = " from VrApplicationFormDetail where applicationId =:applicationId")
    public abstract List<VrApplicationFormDetail> queryDetailByApplicationId(@DAOParam("applicationId") String applicationId);


}